e3744def6734b0576c28acf2b4602f6f4ed3fa24,portal-impl/src/com/liferay/portlet/polls/lar/PollsVoteStagedModelDataHandler.java,PollsVoteStagedModelDataHandler,doImportStagedModel,#PortletDataContext#PollsVote#,71

Before Change


			PortletDataContext portletDataContext, PollsVote vote)
		throws Exception {

		String choicePath = ExportImportPathUtil.getModelPath(
			portletDataContext, PollsChoice.class.getName(),
			vote.getChoiceId());

		PollsChoice choice =
			(PollsChoice)portletDataContext.getZipEntryAsObject(choicePath);

		StagedModelDataHandlerUtil.importReferenceStagedModel(
			portletDataContext, choice);

After Change


			PortletDataContext portletDataContext, PollsVote vote)
		throws Exception {

		StagedModelDataHandlerUtil.importReferenceStagedModel(
			portletDataContext, vote, PollsChoice.class, vote.getChoiceId());

		Map<Long, Long> questionIds =
			(Map<Long, Long>)portletDataContext.getNewPrimaryKeysMap(